if(lok1a < 5 and lok21a < 5 and lok22a < 5 and lok31a < 5 and lok32a < 5 and lok4a < 5 and lok5a < 5 and lok6a < 5 and lok7a < 5 and lok8a < 5 and lok9a < 5 and lok10a < 5)
{
if(ita1a < 2 and ita2a < 2 and ita3a < 2 and ita4a < 2 and ita5a < 2 and ita6a < 2 and ita7a < 2 and ita8a < 2 and ita9a < 2 and ita10a < 2)